JchOptimize\Core\Html\LinkBuilder A

Total Complexity 72
Dependencies 22
Dependents 8
Total lines 477
Lines of code 246
Logical lines of code 130
Comment lines 115
Methods 25
Properties 7

Methods 25

Method Rating Maintainability Complexity Lines of code
replaceLinks()
A
46 9 37
buildUrl()
A
50 8 27
createStaticFiles()
S
52 7 23
addDeferredJs()
S
60 5 13
getPreloadLink()
S
64 5 7
isGZ()
S
73 4 4
postProcessHtml()
S
71 3 5
preProcessHtml()
S
72 3 5
loadCssAsync()
S
65 3 9
getFormattedHtmlAttribute()
S
63 3 10
getNewJsLink()
S
70 3 5
cleanScript()
S
61 2 14
appendChildToHead()
S
61 2 13
__construct()
S
61 2 12
addExcludedJsToSection()
S
66 2 8
appendAsyncScriptsToHead()
S
71 2 6
setImgAttributes()
S
74 1 4
prependChildToHead()
S
74 1 4
appendChildToHTML()
S
64 1 9
getPreloadStyleSheet()
S
65 1 9
addJsLazyLoadAssetsToHtml()
S
71 1 5
getNewCssLink()
S
80 1 3
getPreconnectLink()
S
71 1 5
getModulePreloadLink()
S
80 1 3
addCriticalCssToHead()
S
70 1 6